Repository navigation
progress_dashboard: keep distinct same-second snapshots (DASH-SNAPSHOT-COLLISION) - #970
Conversation
KernelSmoker
left a comment
There was a problem hiding this comment.
Verified submitted head 814381969c12ef11bfe5f9e36c5d963e5fc7e401. The dashboard regression suite passed 51/51 and newline checks 3/3. It confirms distinct snapshots at the same generated timestamp are both archived, while the next snapshot with identical content is deduplicated; history ordering remains correct. check_no_game_data.py and git diff --check passed. Synthetic data only; no GPU/game data.
|
Independent test of #970 (DASH-SNAPSHOT-COLLISION) Head tested: 8143819 (merge base 1504c1a). Environment: Windows 11, native Python 3.13.13, no GPU. Commands and results:
Findings:
Verdict: looks good. AI-assisted. |
|
Merging. Why merged: DASH-SNAPSHOT-COLLISION: progress_dashboard puts the content hash in the snapshot filename, so two different snapshots taken in the same second are both kept instead of one overwriting the other. kawaii-shakal checked it (51 OK) and KernelSmoker approved it. Why it's good: test_progress_dashboard and the line-ending test: 54 passed. Tested on Windows 11 / RTX 4070 SUPER: merged alone onto main 6293c1c. With it in, the repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests) gives 571 passed / 5 skipped / 0 failed, and check_no_game_data on the changed files is clean. Security read of the three-dot diff: no binaries, game data, downloads, network calls, new env vars or build/CI changes. AI-assisted (Claude Code, Claude Opus 5.5). |
|
thegeogeo |
Claimed in the coordination issue as: DASH-SNAPSHOT-COLLISION
What and why
Two different dashboard snapshots written in the same UTC second shared an archive path. Use the existing full content hash alongside the UTC stamp in new archive names. This preserves both snapshots and keeps consecutive unchanged snapshots deduplicated. The history and snapshot JSON retain their current schema.
Thanks to xel1uz for the report.
Tested
1504c1afbecause the first archive was replaced.python -I -B tests/test_progress_dashboard.py: 51 passed.python -I -B tests/test_text_write_line_endings.py: 3 passed.3c2ad30d) had no conflicts. The combined dashboard suite passed all 56 tests.git diff --checkandpython -I -B scripts/check_no_game_data.py tools/progress_dashboard.py tests/test_progress_dashboard.py: passed.GPUs tested: n/a. CPU-only synthetic snapshots.
AI-assisted: Yes, Codex.
Checklist
main.